package com.watch.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.watch.system.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
@TableName(value ="t_car_ad")
public class CarAd extends BaseEntity {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer adId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 发布时间
     */
    private Date createDate;

    /**
     * 0:待联系 1：联系中 2：完成 3：驳回
     */
    private String status;

    /**
     * 广告内容
     */
    private String adContent;

    @Schema(description="经度")
    private String longitude;

    @Schema(description="纬度")
    private String latitude;
    /**
     * 备注
     */
    private String remark;


    private String adImg;


    private String province;

    private String city;

    private String area;

    private String type;

    @Schema(description="投放开始时间")
    private String adStartDate;

    @Schema(description="投放结束时间")
    private String adEndDate;

    @Schema(description="发布用户信息")
    private CarUser carUser;

}